<template>
  <div class="header">
    <div class="nav">
      <ul>
        <li><router-link to="/">Home</router-link></li>
        <li><router-link to="/news">News</router-link></li>
        <li><router-link to="/contact">Contact</router-link></li>
        <li><router-link to="/about">About</router-link></li>
      </ul>
    </div>
    <div class="logout">
      <p>Logout</p>
    </div>
  </div>
</template>

<script lang="ts">
export default {};
</script>

<style scoped>
.header{
  background-color: #333333;
  display: flex;
  justify-content: space-between;
  color: white;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
}
.nav{
  width: 400px;
}
ul{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
a{
  color: white;
  display: inline-block;
  height: 100%;
  padding: 0 20px;
}
.logout p{
  margin: 0;
}
</style>>
